package com.wangtao.firstapp.modles;

import java.util.List;

/**
 * Created by lanouhn on 16/9/10.
 */
public class MessageBoardData {

    /**
     * status : 1
     * msg : 成功
     * ts : 1473497064
     * data : {"list":[{"id":"20595","content":"有什么小糖君可以帮你的吗","datestr":"1小时前","user":{"user_id":"1","nickname":"小糖君","avatar":"http://7te7t9.com2.z0.glb.qiniucdn.com/000/00/00/01.jpg?v=2","is_official":1}},{"id":"20577","content":"时间","datestr":"2小时前","user":{"user_id":"2559956","nickname":"米老虎","avatar":"http://7te7t9.com2.z0.glb.qiniucdn.com/002/55/99/56.jpg?v=2","is_official":0}},{"id":"0","is_default":1,"content":"Hello！我是小糖君，欢迎你的到来。如果遇到任何问题你都可以在这里给我留言，不一定及时，但每条必回^_^","datestr":"刚刚","user":{"user_id":"1","nickname":"小糖君","avatar":"http://7te7t9.com2.z0.glb.qiniucdn.com/000/00/00/01.jpg?v=2","is_official":1}}]}
     */

    private String status;
    private String msg;
    private int ts;
    private DataBean data;

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getTs() {
        return ts;
    }

    public void setTs(int ts) {
        this.ts = ts;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 20595
         * content : 有什么小糖君可以帮你的吗
         * datestr : 1小时前
         * user : {"user_id":"1","nickname":"小糖君","avatar":"http://7te7t9.com2.z0.glb.qiniucdn.com/000/00/00/01.jpg?v=2","is_official":1}
         */

        private List<ListBean> list;

        public List<ListBean> getList() {
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        public static class ListBean {
            private String id;
            private String content;
            private String datestr;
            private int is_default;


            /**
             * user_id : 1
             * nickname : 小糖君
             * avatar : http://7te7t9.com2.z0.glb.qiniucdn.com/000/00/00/01.jpg?v=2
             * is_official : 1
             */

            private UserBean user;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }

            public String getDatestr() {
                return datestr;
            }

            public int getIs_default() {
                return is_default;
            }

            public void setIs_default(int is_default) {
                this.is_default = is_default;
            }

            public void setDatestr(String datestr) {
                this.datestr = datestr;
            }

            public UserBean getUser() {
                return user;
            }

            public void setUser(UserBean user) {
                this.user = user;
            }

            public static class UserBean {
                private String user_id;
                private String nickname;
                private String avatar;
                private int is_official;

                public String getUser_id() {
                    return user_id;
                }

                public void setUser_id(String user_id) {
                    this.user_id = user_id;
                }

                public String getNickname() {
                    return nickname;
                }

                public void setNickname(String nickname) {
                    this.nickname = nickname;
                }

                public String getAvatar() {
                    return avatar;
                }

                public void setAvatar(String avatar) {
                    this.avatar = avatar;
                }

                public int getIs_official() {
                    return is_official;
                }

                public void setIs_official(int is_official) {
                    this.is_official = is_official;
                }
            }
        }
    }
}
